x86: fix pv cpuid masking
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 15 Jun 2010 12:18:55 +0000 (13:18 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 15 Jun 2010 12:18:55 +0000 (13:18 +0100)
commit135259fa862febfd04b98d12acf3ab897aa85312
treeaca2d288511777f11e9a1b5aae6fc36e1d7214f1
parent3aff5e194857d587800365086290e349a1655e3d
x86: fix pv cpuid masking

Invert initial values of the variables parsed into from the command
line, so that completely clearing out one or more of the four bit
fields is possible.

Further, consolidate the command line parameter specifications into
a single place.

Finally, as per "Intel Virtualization Technology FlexMigration
Application Note" (http://www.intel.com/Assets/PDF/manual/323850.pdf),
also handle family 6 model 0x1f.

What remains open is the question whether pv_cpuid() shouldn't also
consume these masks.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/cpu/amd.c
xen/arch/x86/cpu/common.c
xen/arch/x86/cpu/cpu.h
xen/arch/x86/cpu/intel.c
xen/include/asm-x86/msr-index.h